package org.jvending.provisioning.portal;

import org.jvending.provisioning.stocking.par.ProvisioningArchive;

import javax.provisioning.BundleDescriptor;
import java.util.List;
import java.util.Locale;

public interface BundleDescriptorConverter {

    ProvisioningArchive toProvisioningArchive(List<BundleDescriptor> bundleDescriptors, Locale locale, String contentDeliveryUri);

    String toProvisioningArchiveString(List<BundleDescriptor> bundleDescriptors, Locale locale, String contentDeliveryUri);
}
